<?php

interface IAssociationDAO
{

  /**
   *
   * @param IDomObj $client
   * @return void
   */
  public function afterSave(&$client);

  /**
   *
   * @param IDomObj $client
   * @return void
   */
  public function beforeSave(&$client);

  /**
   *
   * @param IDomObj $client
   * @return void
   */
  public function afterDelete(&$client);

  /**
   *
   * @param IDomObj $client
   * @return void
   */
  public function beforeDelete(&$client);

  /**
   *
   * @param array $clients
   * @return void
   */
  public function find(&$clients, $params = null);

  /**
   *
   * @return IAssociationDefinition
   */
  public function getDefinition();

}

?>